﻿using System;
using System.Collections.Generic;
using Autodesk.Revit.ApplicationServices;
using Autodesk.Revit.DB;

namespace ColumnModuleAndEdit.ColumnModule.DataDefine
{
	public class ColumnFamily
	{
		public string Name
		{
			get
			{
				return this.m_Name;
			}
		}

		public List<ColumnSymbol> Symbols
		{
			get
			{
				return this.m_Symbols;
			}
		}

		public ColumnFamily(string name, List<ColumnSymbol> symbols, SectionTemplate sectionTemplate)
		{
			this.m_Name = name;
			this.m_Symbols = symbols;
			this.m_SectionTemplate = sectionTemplate;
		}

		public List<CurveArrArray> GetCurvesByEdgeLoops(Application revitApp)
		{
			return this.m_SectionTemplate.GetCurvesByEdgeLoops(revitApp);
		}

		public SectionLoop.ProfileType GetRegionType()
		{
			return this.m_SectionTemplate.GetRegionType();
		}

		private string m_Name;

		private List<ColumnSymbol> m_Symbols = new List<ColumnSymbol>();

		private SectionTemplate m_SectionTemplate;
	}
}
